<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>文件上传</title>
    </head>
    <body bgcolor="#CED3FE">
    <hr/>
    <div style="text-align: center">
        <h1>注册用户</h1>
        <form action="#" method="post" th:action="@{/upload}" enctype="multipart/form-data">
            用户名:<input type="text" style="width: 150px" name="name"><br/>
            电邮:<input type="text" style="width: 150px" name="email"><br/>
            年龄:<input type="text" style="width: 150px" name="age"><br/>
            职位:<input type="text" style="width: 150px" name="job"><br/>
            头像:<input type="file" style="width: 150px" name="header"><br/>
            宠物:<input multiple type="file" style="width: 150px" name="photos"><br/>
            <input type="submit" value="注册" />
            <input type="reset" value="重新填写" />
        </form>
    </div>
    </body>
</html>